package com.etcsoft.examples.ui.model;

import java.io.File;
import java.util.List;

public class Item {
    private String name;
    private String path;

    private Item parent;
    private List<Item> children;

    public Item() {
    }

    public Item(String name) {
        this.name = name;
    }

    public Item(File file) {
        // TODO 파일 정보를 Item으로 전환
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return this.path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Item getParent() {
        return this.parent;
    }

    public void setParent(Item parent) {
        this.parent = parent;
    }

    public List<Item> getChildren() {
        return this.children;
    }

    public void setChildren(List<Item> children) {
        this.children = children;
    }
}
